/*
 * PWM.h
 *
 *  Created on: 6 paź 2014
 *      Author: ksiadmar
 */

#ifndef PWM_H_
#define PWM_H_

/**
 * Initialize registers for PWM
 */
void PWM_Init();
/**
 * Manage PWM value, if parameter is true than value is increased
 */
EStatus PWM_manage(bool increase);

/**
 * Change State of PWM  true - on, false - off
 */
bool PWM_changeState(bool state);
/**
 * Return state of PWM
 */
bool PWM_getState();

/**
 * Set value for PWM
 */
void PWM_setValue(unsigned int value);


#endif /* PWM_H_ */
